﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestSystem.DataModel
{
    public class Account
    {
        public Account()
        {
        }

        public Account(String userName, String password, String userID, String type)
        {
            this.UserName = userName;

            this.Password = password;

            this.UserID = userID;

            this.Type = type;
        }

        public String UserName
        {
            get;
            set;
        }

        public String UserID
        {
            get;
            set;
        }

        public String Password
        {
            get;
            set;
        }

        public String Type
        {
            get;
            set;
        }

        public override string ToString()
        {
            return String.Format("{0} {1} {2} {3}", 
                this.UserName, 
                this.Password, 
                this.UserID, 
                this.Type);
        }
    }
}